<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
	<div style="text-align:center;width:110px;background:red">居中效果</div>
	<div style="width:110px;background:#dedede">两端对齐前的效果</div>
	<div style="text-align:justify;width:110px;background:yellow">两端对齐后的效果</div>
</body>
</html>